@import 'variables';
@import 'mixins';
.cart-container {
    margin: 0 auto;
    min-height: 3rem;
    position: relative;
    width: 99%;
    top: 0.55rem;
    left: 0;
    .null-shopping {
        text-align: center;
        color: #ccc;
        .cart-pic {
            background: url("../img/cart_pic.png") no-repeat center;
            height: 1rem;
        }
        h4 {
            text-indent: 0.1rem;
            font-size: 0.18rem;
            margin: 0.1rem 0;
        }
        p {
            a.enter {
                line-height: 0.3rem;
                width: auto;
                display: inline-block;
                background: none;
                color: #999;
                padding: 0.05rem;
                background-color: #fafafa;
                font-size: 0.15rem;
                height: 0.3rem;
                border: 1px solid #ddd;
                border-radius: 0.05rem;
            }
        }
    }
    .cart-list {
        width: 100%;
        padding-bottom: 0.6rem;
        li {
            margin: 0.1rem;
            min-height: .75rem;
            overflow: hidden;
            background-color: #fff;
            box-shadow: 0 0 .05rem #ccc;
            border: 1px solid #f2f2f2;
            border-radius: .1rem;
            .cartshadow;
            a {
                display: block;
                overflow: hidden;
                border-bottom: 1px dashed #e7e7e7;
                span {
                    display: block;
                    overflow: hidden;
                    float: left;
                    img {
                        width: 0.5rem;
                    }
                }
                span.cart-title {
                    font-family: "Microsoft YaHei";
                    font-size: 0.14rem;
                    font-weight: bold;
                }
            }
            .cart-product-operate {
                display: block;
                overflow: hidden;
                margin-bottom: 0.05rem;
                border-bottom: 1px dashed #e7e7e7;
                padding-bottom: 0.05rem;
                .buy-label {
                    font-size: 0.14rem;
                    float: left;
                    margin: 0.15rem 0.1rem 0 0.2rem;
                    font-family: "Microsoft YaHei";
                }
                .buy-num-input {
                    float: left;
                    overflow: hidden;
                    margin: 0.12rem 0 0 0.15rem;
                    .reduce {
                        float: left;
                        width: 0.4rem;
                        height: 0.3rem;
                        border: 1px solid #ccc;
                        border-right: none;
                        cursor: pointer;
                        background: url("../img/reduce.gif") center center no-repeat;
                    }
                    .itnums {
                        float: left;
                        width: 0.9rem;
                        height: 0.3rem;
                        border: 1px solid #ccc;
                        text-align: center;
                        font-size: 0.14rem;
                        color: #990000;
                        font-weight: 800;
                    }
                    .add {
                        float: left;
                        width: 0.4rem;
                        height: 0.3rem;
                        border: 1px solid #ccc;
                        border-left: none;
                        cursor: pointer;
                        background: url("../img/add.gif") center center no-repeat;
                    }
                    span.del-btn {
                        width: 0.2rem;
                        height: 0.24rem;
                        float: left;
                        background: url("../img/del.png") center center no-repeat;
                        margin-left: 0.3rem;
                        background-size: contain;
                        cursor: pointer;
                    }
                }
            }
        }
    }
}
.cart-footer {
    .cart-bottom {
        .bottoms;
        .clearcart {
            width: 0.45rem; //          -webkit-box-flex: 1;
            float: left;
            background: url("../img/del.png") left center no-repeat;
            padding-left: 0.3rem;
            font-size: 0.14rem;
            color: #0e69b6;
            height: 0.3rem;
            margin-top: 0.05rem;
            padding-top: 0.1rem;
            cursor: pointer;
            font-weight: bold;
            margin-left: 0.05rem;
        }
        .totalprice {
            //          -webkit-box-flex: 1;
            float: left;
            margin: 0.15rem 0 0 0.05rem;
            font-size: 0.14rem;
            .green {
                color: #00b500;
                font-weight: bold;
            }
        }
        .jiesuanbtn {
            margin-top: 0.1rem;
            margin-right: 0.05rem;
            float: right;
            font-size: 0.14rem;
            width: 0.8rem;
            height: 0.3rem;
            line-height: 0.3rem;
            background-color: #28c728;
            text-align: center;
            border: 1px solid #31b231;
            border-radius: 0.05rem;
            color: #fff;
            font-size: 0.16rem;
            cursor: pointer;
        }
    }
}